package com.miraclengine.utils;

import android.util.Log;

/**
 * Class 정의 : Debug 모드일때  Log를 출력하는 Class 
 *
 */

public class Debug {
	
	private static final String TAG = "KarmaGame";
	private static final boolean mode = GlobalStatic.DEBUG_MODE;
	
	public static void d(String className, String text){
		if(mode) Log.d(TAG, className + " : " + text);
	}
	
	public static void i(String className, String text){
		if(mode) Log.i(TAG, className + " : " + text);
	}
	
	public static void v(String className, String text){
		if(mode) Log.v(TAG, className + " : " + text);
	}
	
	public static void w(String className, String text){
		if(mode) Log.w(TAG, className + " : " + text);
	}
	
	public static void e(String className, String text){
		if(mode) Log.e(TAG, className + " : " + text);
	}
}
